<%@ Page Language="C#" MasterPageFile="Content.master" AutoEventWireup="true" CodeFile="EditProviderProfile.aspx.cs"
    Inherits="Provider_EditProviderProfile" MaintainScrollPositionOnPostback="true"
    Title="Edit Profile - ComparExpress Provider" %>

<%@ Register Src="../controls/usrSalutation.ascx" TagName="usrSalutation" TagPrefix="uc1" %>
<%@ Register Src="../controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc2" %>
<%@ Register Src="../controls/usrGender.ascx" TagName="usrGender" TagPrefix="uc3" %>
<%@ Register Src="../controls/usrIdType.ascx" TagName="usrIdType" TagPrefix="uc4" %>
<%@ Register Src="../controls/usrNationality.ascx" TagName="usrNationality" TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="30%">
                <asp:Label ID="lblProviderID" runat="server"></asp:Label>
            </td>
            <td width="70%">
                <h1>
                    Provider Profile</h1>
            </td>
        </tr>
        <tr>
            <td>
                Salutation
            </td>
            <td>
                <uc1:usrSalutation ID="UsrSalutation1" runat="server" ValidationGroup="newprovider" />
            </td>
        </tr>
        <tr>
            <td>
                First Name
            </td>
            <td>
                <asp:TextBox ID="txtFirstName" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Surname
            </td>
            <td>
                <asp:TextBox ID="txtSurName" runat="server" class="text"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvSurName" runat="server" ControlToValidate="txtSurName"
                    ErrorMessage="Require Surname." ValidationGroup="newprovider">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Date Of Birth
            </td>
            <td>
                <uc2:usrDate ID="UsrDate1" runat="server" ValidationGroup="newprovider" />
            </td>
        </tr>
        <tr>
            <td>
                Gender
            </td>
            <td>
                <uc3:usrGender ID="UsrGender1" runat="server" ValidationGroup="newprovider" />
            </td>
        </tr>
        <tr>
            <td>
                Marital Status
            </td>
            <td>
                <asp:DropDownList ID="ddlMaritalStatus" runat="server" class="text">
                    <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                    <asp:ListItem>Single</asp:ListItem>
                    <asp:ListItem>Married</asp:ListItem>
                    <asp:ListItem>Widowed</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Occupation
            </td>
            <td>
                <asp:DropDownList ID="ddlOccupationType" runat="server" class="text">
                    <asp:ListItem Value="-1">Select</asp:ListItem>
                    <asp:ListItem>Indoors</asp:ListItem>
                    <asp:ListItem>Outdoors</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlOccupation" runat="server" class="text">
                    <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                    <asp:ListItem>Doctor</asp:ListItem>
                    <asp:ListItem>Chemist</asp:ListItem>
                    <asp:ListItem>Physician</asp:ListItem>
                    <asp:ListItem>Soldier</asp:ListItem>
                    <asp:ListItem>Teacher</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Identification Number
            </td>
            <td>
                <uc4:usrIdType ID="UsrIdType1" runat="server" ValidationGroup="newprovider" />
                <asp:TextBox ID="txtIDNo" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Nationality
            </td>
            <td>
                <uc5:usrNationality ID="UsrNationality1" runat="server" ValidationGroup="newprovider" />
            </td>
        </tr>
        <tr>
            <td>
                Hightest Education
            </td>
            <td>
                <asp:TextBox ID="txtHighEducation" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Residential Phone Number
            </td>
            <td>
                <asp:TextBox ID="txtHomePhoneNo" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Mobile Number
            </td>
            <td>
                <asp:TextBox ID="txtMobileNo" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Office Phone Number
            </td>
            <td>
                <asp:TextBox ID="txtOfficeNo" runat="server" class="text"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOfficeNo"
                    Display="Dynamic" ErrorMessage="Require Office Phone No" ValidationGroup="newprovider">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Fax No
            </td>
            <td>
                <asp:TextBox ID="txtOfficeFaxNo" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                PostCode
            </td>
            <td>
                <asp:TextBox ID="txtOfficePostCode" runat="server" class="text"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOfficePostCode"
                    Display="Dynamic" ErrorMessage="Require Post Code" ValidationGroup="newprovider">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Unit No
            </td>
            <td>
                <asp:TextBox ID="txtOfficeUnitNo1" runat="server" class="text"></asp:TextBox>-<asp:TextBox
                    ID="txtOfficeUnitNo2" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Street
            </td>
            <td>
                <asp:TextBox ID="txtOfficeStreet" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                City
            </td>
            <td>
                <asp:TextBox ID="txtOfficeCity" runat="server" class="text"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Country
            </td>
            <td>
                <asp:DropDownList ID="ddlOfficeCountry" runat="server">
                    <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                    <asp:ListItem>Singapore</asp:ListItem>
                    <asp:ListItem>Malaysia</asp:ListItem>
                    <asp:ListItem>Myanmar</asp:ListItem>
                    <asp:ListItem>Thailand</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="newprovider" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <%--<asp:Button ID="btnClearForm" runat="server" OnClientClick="return confirm('Are you sure to clear form?');"
                    Text="Clear" CausesValidation="False" OnClick="btnClearForm_Click" />--%>
                <asp:Button ID="btnUpdateProfile" runat="server" OnClientClick="return confirm('Are you sure to update profile?');"
                    Text="Update Profile" ValidationGroup="newprovider" OnClick="btnUpdateProfile_Click" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="lblMessage" runat="server" Font-Bold="True"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
